package com.localjoycommunity.cpdj.project.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.localjoycommunity.cpdj.project.system.domain.TwoNewOrganization;
import com.localjoycommunity.cpdj.project.system.domain.UserCompany;

import java.util.List;

/**
 * @Author: lida
 * @Date: 2020/11/14
 * @Description:
 */
public interface IUserCompanyService extends IService<UserCompany> {

    /**
     * 用户收藏两新组织
     */
    int twoNewDig(UserCompany userCompany);

    /**
     * 用户收藏列表
     * @param userId
     * @return
     */
    List<TwoNewOrganization> selectUserCollect( Integer userId);

    Integer isDig(Integer userId, Long twoNewId);
}
